package org.dormi.learn.product.application.material;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * add description here
 *
 * @author : dormi330
 * @version : 1.0
 */
@Getter
@Setter
public class MaterialCreateInDTO {

    private String code;
    private String barCode;
    private String extCode;
    private String name;
    private String categoryCode;
    private String formCode;
    private String brandCode;

    // 长宽高
    private BigDecimal length;
    private BigDecimal width;
    private BigDecimal heigth;
    private String lengthUnitCode;
    // 重量
    private BigDecimal netWeight;
    private BigDecimal grossWeight;
    private String weightUnitCode;
    // 有效期
    private BigDecimal validityTimeLength;
    private String validityUnitCode;
    // 最小sku单位
    private String minSkuCode;
    private String trackingTypeCode;
    private Boolean canBeSold;
    private Boolean canBePurchased;

    private String alias;
    private String shortCode;
    private String group1;
    private String group2;
}
